﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyAccount.aspx.cs" Inherits="Ebiz.MyAccount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="js/myaccount.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHolder" runat="server">
    <h3>My Account</h3>
    <form id="Form1" runat="server">
        <div style="margin:0 auto; position:relative; width:85%;">
            <table id="tblForm" style="width:100%;font-size:14px;text-align:left;">
                <tbody>
                    <tr>
                        <td rowspan="7" style="width:140px;padding-bottom:10px;">
                            <img src="" style="display:none;border:1px solid #CCC; margin:0 auto; width:120px; height:120px;" alt="" title="Profile Picture" />
                            <div id="btnPic" style="display:none;margin:5px 0;text-align:center;"><span style="cursor:pointer;color:Blue;" title="Edit Profile Picture">Edit Picture</span></div>
                        </td>
                        <td style="width:120px;">Username</td>
                        <td style="width:6px;">:</td>
                        <td><%= ViewData["UserID"]%></td>
                    </tr>
                    <tr>
                        <td style="height:27px;">Password</td><td>:</td>
                        <td>
                            <span style="color:Red;">[ ****** ]</span>&nbsp;
                            <div id="btnPass" class="btnSmall" style="padding:3px 15px;font-size:11px;" title="Edit/Change Password">Change</div>
                        </td>
                    </tr>
                    <tr><td colspan="3">&nbsp;</td></tr>
                    <tr>
                        <td>Network ID</td><td>:</td>
                        <td><%= ViewData["NetID"]%></td>
                    </tr>
                    <tr>
                        <td>Last Login</td><td>:</td>
                        <td><%= ViewData["LastLogin"]%></td>
                    </tr>
                    <tr>
                        <td>Last Accessed IP</td><td>:</td>
                        <td><%= ViewData["LastIPAddress"]%></td>
                    </tr>
                    <tr><td colspan="3">&nbsp;</td></tr>
                </tbody>
            </table>
            <table id="tblFormExt" style="width:100%;font-size:14px;text-align:left;">
                <tbody>
                    <tr>
                        <td style="width:140px;height:20px;">&nbsp;</td>
                        <td style="width:120px;">Full Name</td>
                        <td style="width:6px;">:</td>
                        <td><%= ViewData["FullName"]%></td>
                    </tr>
                    <tr>
                        <td style="height:27px;">&nbsp;</td>
                        <td>Email</td><td>:</td>
                        <td>
                            <span id="spnEmail"><%= ViewData["Email"] %></span>
                            <input type="text" name="txtEmail" id="txtEmail" style="font-size:12px;display:none;width:180px;" value="<%= ViewData["Email"] %>" />
                            <div id="btnCancelEmail" class="btnSmall" style="margin-left:5px;padding:3px 15px;font-size:11px;display:none;" title="Edit/Change Email">Cancel</div>
                            <div id="btnSaveEmail" class="btnSmall" style="margin-left:5px;padding:3px 15px;font-size:11px;margin-left:5px;display:none;" title="Edit/Change Email">Save</div>
                            <div id="btnCEmail" class="btnSmall" style="margin-left:5px;padding:3px 15px;font-size:11px;" title="Edit/Change Email">Change</div>
                        </td>
                    </tr>
                    <tr>
                        <td style="height:20px;">&nbsp;</td>
                        <td>Role</td><td>:</td>
                        <td><%= ViewData["Role"] %></td>
                    </tr>
                    <tr><td colspan="3" style="height:18px;"></td></tr>
                    <tr>
                        <td style="height:27px;">&nbsp;</td>
                        <td>Available to Approve</td><td>:</td>
                        <td>
                            <span id="spnApp"><%= ViewData["AppRole"] %></span>
                            <select name="cbAppOpt" id="cbAppOpt" style="display:none; font-size:12px;font:Arial;width:62px;">
                                <%= ViewData["AppOptRole"] %>
                            </select>
                            <div id="btnEditApp" class="btnSmall" style="padding:3px 15px; margin-left:5px; font-size:11px;" title="Edit/Change Approval Availability">Change</div>
                            <div id="btnCancelApp" class="btnSmall" style="display:none;padding:3px 15px; margin-left:5px; font-size:11px;" title="Cancel">Cancel</div>
                            <div id="btnSaveApp" class="btnSmall" style="display:none;padding:3px 15px; margin-left:5px; font-size:11px;" title="Update">Update</div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</asp:Content>
